identifying non regular languages